

import {axios,get,post} from "../utils/axios"

/*
获取验证码
*/
export const getcsrftoken = params => get("/vue/gettoken",params)

/*
登录
*/
export const signinAjax = params => post("/vue/signin",params);


/*
获取信息
*/
export const getuserinfo = params => post("/vue/getuserinfo",params);


/*
轮播图
*/
export const gethomebanner = params => post("/vue/gethomebanner",params);

/*
获取角色信息
*/
export const getuserlist = params => post("/vue/getuserlist",params);
// export const getuserlist1 = params => post("/vue/getuserlist1",params);

/*
新增用户
*/
export const adduser = params => post("/vue/adduser",params);

/*
删除用户
*/
export const deluser = params => post("/vue/deluser",params);

/*
修改用户
*/
export const updateusername = params => post("/vue/updateusername",params);

/*
提交意见
*/
export const addadvise = params => post("/vue/addadvise",params);

/*
意见列表
*/
export const getadviselist = params => post("/vue/getadviselist",params);

/*
删除意见
*/
export const delAdviseOne = params => post("/vue/delAdviseOne",params);

/*
获取意见
*/
export const getadvisebyid = params => post("/vue/getadvisebyid",params);

/*
修改意见
*/
export const updateadvisebyid = params => post("/vue/updateadvisebyid",params);

/*
回复意见
*/
export const addreply = params => post("/vue/addreply",params);

/*
上传头像
*/
export const uploadpic = params => post("/vue/uploadpic",params);

/*
上班打卡
*/
export const adddaka = params => post("/vue/adddaka",params);

/*
获取打卡列表
*/
export const dakalist = params => post("/vue/dakalist",params);

/*
新增薪资
*/
export const addmoney = params => post("/vue/addmoney",params);

/*
薪资列表
*/
export const moneylist = params => post("/vue/moneylist",params);

/*
删除薪资
*/
export const delmoney = params => post("/vue/delmoney",params);

/*
修改薪资
*/
export const updatemoney = params => post("/vue/updatemoney",params);